<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>recycle style-1</title>
    <link rel="stylesheet" href="../../model/jsFn.css">
    <link rel="stylesheet" href="../../model/element.css">
</head>
<body>
<!--目录-->
<div class="catalog">
    <h2>目录</h2>
    <ul>
        <li>
            <p><a href="#element">< recycle style="1" ></a></p>
        </li>
        <li>
            <p><a href="#attribute">属性</a></p>
            <ul>
                <li><p><a href="#example">实例</a></p></li>
                <li><p><a href="#optional">可选属性</a></p></li>
                <li><p><a href="#note">提示和注释</a></p></li>
                <li><p><a href="#sketch">效果图</a></p></li>
            </ul>
        </li>
        <li>
            <p><a href="#jsFn">js函数</a></p>
            <ul>
                <li><p><a href="#jsFn_adapter">adapter ----------获得适配器</a></p></li>
            </ul>
        </li>
        <li>
            <p><a href="#childElement">子标签</a></p>
        </li>
    </ul>
</div>
<!--标签-->
<div id="element">
    <h2>recycle style1</h2>
    <div>简介:</div>
    <p>recycleview </p>
</div>
<!--属性-->
<div id="attribute">
    <h2>属性</h2>
    <div style="margin-left: 25px" id="example">
        <h3>实例:</h3>
        <!--xmp标签可以直接书写xml格式文本-->
        <xmp>
            <recycle id="readingAdapter" background="#ffffff">
                <readingQuick click="ServerAgent.invoke('book',{id:this.getItem().book_id})"/>
            </recycle>
        </xmp>
    </div>
    <div id="optional">
        <h3>可选属性:</h3>
        <table >
            <tbody>
                <tr>
                    <th>属性</th>
                    <th>值</th>
                    <th>描述</th>
                </tr>
                <tr>
                    <td>click</td>
                    <td>&nbsp;javaScript&nbsp;</td>
                    <td>点击事件</td>
                </tr>
                <tr>
                    <td>longClick</td>
                    <td>&nbsp;javaScript&nbsp;</td>
                    <td>长按事件</td>
                </tr>
                <tr>
                    <td>num</td>
                    <td>&nbsp;int&nbsp;</td>
                    <td>一行有几列,或一列有几行</td>
                </tr>
                <tr>
                    <td>type</td>
                    <td>&nbsp;list||grid||stagger&nbsp;</td>
                    <td>适配器类型,list:正常;grid:网格布局;stagger:瀑布流布局</td>
                </tr>
                <tr>
                    <td>orientation</td>
                    <td>&nbsp;vertical||horizontal&nbsp;</td>
                    <td>滑动方向,vertical:竖值滑动;horizontal:水平滑动</td>
                </tr>
                <tr>
                    <td>reverse</td>
                    <td>&nbsp;boolean&nbsp;</td>
                    <td>是否颠倒排序</td>
                </tr>
            </tbody>
        </table>
    </div>
    <div id="note">
        <h3>提示和注释:</h3>
    </div>
    <div id="sketch">
        <h3>效果图:</h3>
        <img src="img/recycle.png" alt="">
    </div>
</div>
<!--js方法-->
<div id="jsFn">
    <h2>js方法</h2>
    <div class="jsFnModel" id="jsFn_adapter">
        <h3>adapter</h3>
        <div class="shape">
            <h3>函数使用样式</h3>
            <p>recycle.adapter()->adapter;</p>
        </div>
        <div class="profile">
            <h3>函数功能简介</h3>
            <p>返回recycle 的 adapter</p>
        </div>
        <div class="version">
            <p>稳定性;2 - 稳定的</p>
            <p>新增于:v0.0.0</p>
        </div>
        <div class="params">
            <h3>参数列表:</h3>
            <ul>
                <li>
                    <p>空</p>
            </ul>
        </div>
        <div class="res">
            <h3>返回值:</h3>
            <p>adapter</p>
            <p>返回适配器</p>
        </div>
        <div class="code">
            <h3>例子</h3>
            <pre>
            <code>
                recycle.adapter();
            </code>
        </pre>
        </div>
        <div class="error">
            <h3>抛出错误</h3>
        </div>
    </div>
</div>
<!--子标签-->
<div id="childElement">
    <h2>子标签</h2>
    <p>所有的item,参见<a href="../../item/index.html">item</a></p>
</div>
<div class="author"><p>by-姜进</p></div>
</body>
</html>